namespace CRM.DataAccess.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class ITEM_DETAILS
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long ITEM_DETAIL_ID { get; set; }

        [Key]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long ITEM_ID { get; set; }

        [Key]
        [Column(Order = 2)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long PRODUCT_ID { get; set; }

        [StringLength(250)]
        public string PRODUCT_NAME { get; set; }

        [StringLength(1000)]
        public string DESCRIPTION { get; set; }

        public double? GST_PERCENT { get; set; }

        public double? UNIT_PRICE { get; set; }

        public double? QUANTITY { get; set; }

        public double? DISCOUNT_PRICE { get; set; }

        public double? DISCOUNT_PERCENT { get; set; }

        public double? PRICE { get; set; }

        public string IMAGE { get; set; }

        public double? BALANCE { get; set; }

        public double? CURRENT_BALANCE { get; set; }

        [StringLength(50)]
        public string USAGE_UNIT_NAME { get; set; }
    }
}
